import request from "@/utils/request";

/**
 * 查询所有合同
 * @param data
 * @returns {*}
 */
export function contractRenewList(data) {
  return request({
    url: '/sys/renew/renewList',
    method: 'Post',
    data
  })
}

/**
 * 不续签
 * @param data
 * @returns {*}
 */
export function unRenew(params) {
  return request({
    url: '/sys/renew/unRenew',
    method: 'get',
    params:params
  })
}


/**
 * 续签
 * @param data
 * @returns {*}
 */
export function renew(data) {
  return request({
    url: '/sys/renew/renew',
    method: 'Post',
    data
  })
}

